/**
 *
 */
package com.yuexunit.finance.common.util;

import javassist.*;

import java.io.Serializable;
import java.lang.reflect.Field;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class OrderField implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    /**
     * 字段.
     */
    private String filed;
    /**
     * 是否降序.
     */
    private boolean isDesc = false;

    public OrderField(String filed, boolean isDesc) {
        super();
        this.filed = filed;
        this.isDesc = isDesc;
    }

    public OrderField(String filed) {
        super();
        this.filed = filed;
    }

    /**
     * @return the filed
     */
    public String getFiled() {
        return filed;
    }

    /**
     * @return the isDesc
     */
    public boolean isDesc() {
        return isDesc;
    }


}

